package com.dq.statistics.client;

import com.dq.commonutils.vo.Result;
import com.dq.statistics.client.fallBackFactory.UcenterFallBackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @project: guli_parent
 * @ClassName: UcenterClient
 * @author: dq
 * @creat: 2022/9/15 16:58
 */
@FeignClient(name = "service-ucenter",fallbackFactory = UcenterFallBackFactory.class)
public interface UcenterClient {
    @PostMapping("/educenter/member/countRegister/{day}")
    public Result findTotalRegisterCountFromOneDay(@PathVariable("day") String day);
}
